import axios from '../utils/http'


// 盲盒列表
export const boxBlindList = (params) =>
    axios({
        url: '/v1/manager/box/blind',
        method: 'get',
        params
    })


// 盲盒列表 详情
export const boxBlindListId = (params) =>
    axios({
        url: `/v1/manager/box/blind/${params}`,
        method: 'get',
    })

// 盲盒列表 添加
export const boxBlindListAdd = (data) =>
    axios({
        url: '/v1/manager/box/blind',
        method: 'post',
        data
    })


// 盲盒列表 上下架
export const boxBlindListPut = (params) =>
    axios({
        url: `/v1/manager/box/blind/${params}`,
        method: 'get',
    })

// 盲盒列表 删除
export const boxBlindListDelete = (params) =>
    axios({
        url: `/v1/manager/box/blind/${params}`,
        method: 'delete',
    })

